﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunboxsoft.ASMS.Client.Domain.WebRef
{
    public partial class EServiceItem
    {
        public string StatusText
        {
            get
            {
                if (this.Status == Domain.Constant.CommonStatus.Enabled)
                {
                    return "已启用";
                }
                else if (this.Status == Domain.Constant.CommonStatus.Deleted)
                {
                    return "已删除";
                }
                else if (this.Status == Domain.Constant.CommonStatus.Disabled)
                {
                    return "已禁用";
                }
                return "Unkonwn";
            }
        }

        public EServiceItem()
        {
        }

    }
}
